#Test suite for Symbian Scheme Evaluater.

vpath %.c ..
vpath %.h ..

CC = gcc
CFLAGS = -g
LINK = gcc
OBJECT = test.o lexical.o evaluater.o storage.o
INCLUDE = ..
CINCLUDE = -I $(INCLUDE)

test: $(OBJECT)
	$(LINK) $^ -g -o $@

$(OBJECT): %.o: %.c
	$(CC) -c $(CINCLUDE) $(CFLAGS) $< -o $@

check:
	./test

all: test check
